package com.hamilton.erik.pt.core.dao;

import java.sql.SQLException;
import java.util.List;

import com.hamilton.erik.pt.core.model.Feeding;

public interface FeedingDAO {

	public int insertFeeding(Feeding feeding) throws SQLException;
	public boolean deleteFeeding(Long feedingId) throws SQLException;
	public Feeding findFeeding(Feeding feeding) throws SQLException;
	public int updateFeeding(Feeding feeding) throws SQLException;
	
	public List<Feeding> getAllFeedings(Long animalId) throws SQLException;
	public boolean deleteAllFeedings(Long animalId) throws SQLException;

}
